package com.haiyan.demo04_继承后成员访问规则;

public class Fu {
    public Fu() {
    }

    public Fu(String name,int age) {
    }

    private String name;
    private void method()
    {
        System.out.println("fu 私有成员方法");
    }
    public int age=10;
    public void method2()
    {
        System.out.println("fu 非私有成员方法");
    }
}
